﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using ZhimeiSoft.CharmManager.DOL;

namespace ZhimeiSoft.CharmManager.Server.DAL.Interface
{
    public interface IServiceItemDAL
    {
        /// <summary>
        /// 添加服务项目
        /// </summary>
        /// <param name="serviceItem"></param>
        void InsertServiceItem(DBEntityServiceItem serviceItem);

        /// <summary>
        /// 修改服务项目
        /// </summary>
        /// <param name="serviceItem"></param>
        void UpdateServiceItem(DBEntityServiceItem serviceItem);

        /// <summary>
        /// 设置服务项目状态
        /// </summary>
        /// <param name="serviceItemID"></param>
        /// <param name="sState"></param>
        void SetServiceItemState(int serviceItemID, string sState);

        /// <summary>
        /// 调整服务项目分类
        /// </summary>
        /// <param name="categoryid"></param>
        /// <param name="newcategoryid"></param>
        void ResetServiceItemCategory(int categoryid, int newcategoryid);

        /// <summary>
        /// 查询服务项目
        /// </summary>
        /// <param name="sFilter"></param>
        /// <returns></returns>
        DataSet QueryServiceItem(string sFilter);
    }
}
